package com.sumainfor.wx.system.maket.controller.rentadviser;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.wx.system.maket.service.DmMediumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * <p>
 *
 * <p>
 *
 * @author: zc
 * @create: 2019-08-23 16:24
 **/
@Controller
@RequestMapping("/DmMediumController")
public class DmMediumController {
    @Autowired
    DmMediumService dmMediumService;


    /**
     * 中介
     * @author zhoucong
     * @data 2019/8/23
     * @Param
     * @return
     */
    @ResponseBody
    @GetMapping("/getMeIdist")
    public JsonResult getMeIdist(@RequestParam Map<String,Object> params){
        JsonResult result = new JsonResult();
        return result.put(dmMediumService.getMeIdist(params));
    }
}
